Decouples commands from Linear via PM skill#21
Merged
Conversation
- Commands now delegate to a configurable PM skill instead of calling Linear tools directly - Adds Linear PM skill with tool mappings, status protocols, document operations, and commit trailer format - Workbench-context skill detects PM config from settings.yml - Replaces status-ticket label checks with generic status guards - Updates commit command trailer to use PM skill format Delivers PAP-7018
- Non-interactive init now checks for config.yaml specifically rather than the .workbench directory, allowing settings.yml and schemas to coexist without false positives
- Adds yaml-language-server schema directive for IDE autocomplete and validation of workbench settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Introduces a Project Management (PM) skill layer to abstract tool-specific logic from core commands. This decouples commands like
commit,execute,plan,research,review, andticketfrom direct Linear API calls. Commands now refer to a generic PM skill for issue retrieval, status management, and document operations.A new
linearPM skill centralizes Linear-specific tool mappings, status protocols, document operations, and commit trailer formats. Theworkbench-contextskill now dynamically loads the configured PM skill from.workbench/settings.yml. A new.workbench/settings.ymland its schema are added to specify the project management tool (initially 'linear').It also fixes an issue in the
workbench-cliwhere it incorrectly checked for the.workbenchdirectory instead of.workbench/config.yaml.Relates to PAP-7018